package com.kwum.toutiao;


/**
 * Description: 头条列表pojo类
 * Company: youjiang
 * @author Kwum
 * @date 2017年12月26日 上午11:27:01
 * @version 1.0
 */

public class TouTiaoArticle {

    /**
     * 文章id
     */
    public String pgcId;
    
    /**
     * 播放数量
     */
    public Integer playNum;
    
    /**
     * 推荐数量
     */
    public Integer impressionNum;
    
    /**
     * 是否已推荐
     */
    public boolean isRecommend;
    
    /**
     * 发布时间
     */
    public String publishTime;
    
    /**
     * 标题
     */
    public String title;
    
    public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getPgcId() {
        return pgcId;
    }

    public void setPgcId(String pgcId) {
        this.pgcId = pgcId;
    }

    public Integer getPlayNum() {
        return playNum;
    }

    public void setPlayNum(Integer playNum) {
        this.playNum = playNum;
    }

    public Integer getImpressionNum() {
        return impressionNum;
    }

    public void setImpressionNum(Integer impressionNum) {
        this.impressionNum = impressionNum;
    }

    public boolean isRecommend() {
        return isRecommend;
    }

    public void setRecommend(boolean isRecommend) {
        this.isRecommend = isRecommend;
    }

    public TouTiaoArticle(String pgcId, String title, Integer playNum, Integer impressionNum, boolean isRecommend, String publishTime) {
        super();
        this.pgcId = pgcId;
        this.playNum = playNum;
        this.impressionNum = impressionNum;
        this.isRecommend = isRecommend;
        this.publishTime = publishTime;
        this.title = title;
    }

    @Override
    public String toString() {
        return "TouTiaoArticle \n"
                + "[pgcId=" + pgcId + ", \n"
                + "title=" + title + ", \n"
                + "playNum=" + playNum + ", \n"
                + "impressionNum=" + impressionNum + ", \n"
                + "isRecommend=" + isRecommend + ", \n"
                + "publishTime=" + publishTime+ "]";
    }
}
